package com.joysuch.wwyt.attendance.excel;

import org.apache.poi.xssf.streaming.SXSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author ZhaoQiuWei
 * @Date 2022/3/8 9:19
 */
public interface AttendanceUserExcelService {


    /**
     * 人员排班导入
     *
     * @param file
     * @return
     */
    List<String> importUserExcel(MultipartFile file, Integer year, Integer month);

    /**
     * 人员排班导出
     *
     * @param templateFlag 0模板导出 1数据导出
     * @return
     */
    SXSSFWorkbook exportUserExcel(Integer templateFlag, Integer year, Integer month,Long groupId);


}
